package com.euond.accv.mdm.api.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import com.euond.accv.mdm.client.dto.MdmItemDTO;
import com.euond.accv.mdm.domain.MdmItem;
import com.euond.accv.mdm.service.MdmItemService;
import com.euond.common.api.controller.BaseReadApiController;
import com.euond.common.web.controller.annotation.FeignRestController;

import io.swagger.annotations.Api;

@FeignRestController
@RequestMapping("/feign_api/mdm_item")
@Api(description = "商品信息Api")
public class MdmItemApiController extends BaseReadApiController<MdmItem, Integer>{
	@Autowired
	MdmItemService service;

	@Override
	protected void init() {
		setBaseService(service);
		setMainVOClazz(MdmItemDTO.class);
	}

}
